package com.mdlib.helper.model.entity;

import com.mdlib.helper.utils.MDAppUtils;

/**
 * 作者：HQY on 16/12/19 13:48
 * 邮箱：hqy_xz@126.com
 */

public class BuyEntity {


    /**
     * id : 111
     * order_id : 1612080140373153
     * goods_id : 12
     * uid : 314
     * num : 1
     * total_money : 222
     * son_order : 905
     * order_status : 1
     * addr_id : 321
     * remark :
     * platform : 3
     * update_time : 1481175652
     * status : 1
     * run_name :
     * created_at : 1481175637
     * goods_name : 潘婷
     * img_path : /data/img/161117/7ce893128d0ae99db0b574bbd7a9bf4a.jpeg
     * address : 或许将独具匠心
     * phone : 18052128472
     */
    private int id;
    private String order_id;
    private int goods_id;
    private int uid;
    private int num;
    private Double total_money;
    private int son_order;
    private int order_status;
    private int addr_id;
    private String remark;
    private String platform;
    private int update_time;
    private int status;
    private String run_name;
    private int created_at;
    private String goods_name;
    private String img_path;
    private String address;
    private String phone;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public int getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(int goods_id) {
        this.goods_id = goods_id;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public Double getTotal_money() {
        return total_money;
    }

    public void setTotal_money(Double total_money) {
        this.total_money = total_money;
    }

    public int getSon_order() {
        return son_order;
    }

    public void setSon_order(int son_order) {
        this.son_order = son_order;
    }

    public int getOrder_status() {
        return order_status;
    }

    public void setOrder_status(int order_status) {
        this.order_status = order_status;
    }

    public int getAddr_id() {
        return addr_id;
    }

    public void setAddr_id(int addr_id) {
        this.addr_id = addr_id;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public int getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(int update_time) {
        this.update_time = update_time;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getRun_name() {
        return run_name;
    }

    public void setRun_name(String run_name) {
        this.run_name = run_name;
    }

    public int getCreated_at() {
        return created_at;
    }

    public void setCreated_at(int created_at) {
        this.created_at = created_at;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public String getImg_path() {
        return MDAppUtils.getImageSrc(img_path);
    }

    public void setImg_path(String img_path) {
        this.img_path = img_path;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
